#!/usr/bin/env python
# @file watch.py


import logging
import pyinotify

from common_helpers import *


class Watch:

    def __init__(self, context, dir):
        self._context = context
        self._dir = dir
        self.fd = 0
        logging.info('%s created' % classname(self))

    def update(self, newdir):
        self._dir = newdir

    def enable(self):
        raise NotImplementedError
